﻿using Microsoft.WowAddonStudio.Lua.Model;

namespace Microsoft.WowAddonStudio.Lua.LanguageService.Intellisense
{
    public class TableDescriptionProvider : DescriptionProvider<Table>
    {
        protected override string GetDeclarationTypeSignature(Table declaration)
        {
            if (declaration.HasPrototype)
                return declaration.Prototype;

            return base.GetDeclarationTypeSignature(declaration);
        }
    }
}
